HTMLify

todo.css
Views: 31 | Author: khushi
*{
    margin:0 ;
    padding:0 ;
    font-family: 'popins','sans-sarif';
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: paleturquoise;
}
.contain{
    width: 100%;
    background: lavender; 
    padding: 10px;
    }
.box{
  position: relative;
  width: 480px;
  padding: 30px 50px ;
  height: 550px;
  border-radius: 35px;
  box-shadow: 25px 25px 75px rgba(0,0,0,25),
  10px 10px 70px rgba(0,0,0,25)
}
h1{
    width: 100% ;
    font-weight: 600;
    text-align: center;
    color:black;
    font-size: 1.74em;
}
#inputbox{
    position: relative;
    width: 100%;
    border: none;
    outline: none;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 1em;
    box-shadow: 5px 5px 7px rgba(0,0,0,25)
}
.box li{
    position: relative;
    width: calc(100% - 40px) ;
    border-radius: 22.5px;
    color: whitesmoke;
    display: flex;
    margin: 15px 0;
    padding: 10px 10px 10px 45px;
    justify-content: space-between;
    cursor: pointer;
    min-height: 50px;
    align-items: center ; 
    background: lightseagreen;
    box-shadow: 5px 5px 7px rgba(0,0,0,0.25) 
}
.box li i{
    position: absolute;
    right: -40px;
    width: 30px;
    background: red;
    border-radius: 50%;
    box-shadow: 5px 5px 7px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: right;
}
.box li i::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    transform: rotate(-45deg) ;
    }
.box li i::before{
    content: '' ;
    position: absolute;
    left: 8px;
    width: 35px;
    height: 30px;
    background: red;
    border-radius: 50%;
    transform: rotate(45deg) ;
}
.box li.done{
    background:red;
}
.box li.done::after{
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white ;
    transform: rotate(315deg);
}
#list{
    position: relative;
    margin-top: 20px;
    height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}
::-webkit-scrollbar-track{
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5) ;
}
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-thumb{
    background: white;
}

Comments